package nl.vu.few.ibivu.biomodels.client.ui;

import nl.vu.few.ibivu.biomodels.client.ui.view.GatewayView;
import nl.vu.few.ibivu.biomodels.client.ui.view.MenuBarView;
import nl.vu.few.ibivu.biomodels.client.ui.view.ModelBrowsingView;
import nl.vu.few.ibivu.biomodels.client.ui.view.ModelView;
import nl.vu.few.ibivu.biomodels.client.ui.view.PreferencesView;
import nl.vu.few.ibivu.biomodels.client.ui.view.WelcomeView;

import com.google.gwt.inject.client.AbstractGinModule;
import com.google.inject.Singleton;

public class ViewModule extends AbstractGinModule {

	@Override
	protected void configure() {
		 bind(MainView.class).in(Singleton.class);
		 bind(ModelView.class).to(ModelViewImpl.class).in(Singleton.class);
		 bind(PreferencesView.class).to(PreferencesViewImpl.class).in(Singleton.class);
		 bind(ModelBrowsingView.class).to(ModelBrowsingViewImpl.class).in(Singleton.class);
		 bind(GatewayView.class).to(GatewayViewImpl.class).in(Singleton.class);
		 bind(MenuBarView.class).to(MenuBarViewImpl.class).in(Singleton.class);
		 bind(WelcomeView.class).to(WelcomeViewImpl.class).in(Singleton.class);
	}

}
